Skip to content

Add premium responsive UI with metal button components and dark theme#1

Merged
hari7261 merged 4 commits intomasterfrom
claude/complete-responsive-ui
Apr 8, 2026
Merged

Add premium responsive UI with metal button components and dark theme#1
hari7261 merged 4 commits intomasterfrom
claude/complete-responsive-ui

Conversation

@Claude
Copy link
Copy Markdown

@Claude Claude AI commented Apr 8, 2026

Transform SankhyaAI frontend into a production-ready platform with premium metallic UI components, full responsive design, and professional dark theme.

Changes

New Metal Button Component

  • Created metal-button.tsx with 5 variants (default/silver, gold, bronze, steel, chrome)
  • Realistic 3D shadows, gradients, and hover states using Tailwind utilities
  • Built on Radix UI Slot for composability
import { MetalButton } from "@/components/ui/metal-button";

<MetalButton variant="gold" size="lg">
  Send to Sankhya
</MetalButton>

Responsive UI Overhaul

  • All pages now mobile-first with breakpoints (sm/md/lg/xl)
  • Responsive typography, spacing, and grid layouts
  • Touch-friendly button sizing on mobile devices
  • Conversation list: h-[400px] md:h-[520px]
  • Admin metrics: grid-cols-2 md:grid-cols-4

Dark Theme Implementation

  • Metallic dark color scheme in globals.css
  • Glass-morphism cards with backdrop blur
  • Multi-layered radial gradients for depth
  • Custom scrollbar styling with primary color accents

Navigation & Layout

  • Sticky header with route-aware active states
  • Logo and navigation links responsive to viewport
  • Integrated into root layout

Missing Infrastructure

  • Created lib/ directory with API client, SSE handler, and utilities
  • Updated .gitignore to allow frontend/lib/ while excluding backend/lib/
  • Added @radix-ui/react-slot dependency

Updated Files

  • app/page.tsx, app/admin/page.tsx - Applied metal buttons and responsive classes
  • app/layout.tsx - Added navigation component
  • app/globals.css - Dark theme with HSL variables
  • components/navigation.tsx - New sticky header
  • components/ui/metal-button.tsx - New component
  • lib/api.ts, lib/sse.ts, lib/utils.ts - Core utilities

Build validates successfully with zero ESLint errors.

@Claude Claude AI assigned Claude and hari7261 Apr 8, 2026
@hari7261 hari7261 marked this pull request as ready for review April 8, 2026 05:01
@hari7261 hari7261 merged commit 90d6799 into master Apr 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants